<#
 #   It is recommended to test the script on a local machine for its purpose and effects. 
 #   ManageEngine Endpoint Central will not be responsible for any 
 #   damage/loss to the data/setup based on the behavior of the script.

 #   Description: Script is designed to Enable Bitlocker for all drives.
 #   Configuration Type - COMPUTER
 #   Note - To Enable BitLocker encryption is enabled for the specified drives without creating password
#>

$a=Get-PSDrive -PSProvider FileSystem
foreach ($b in $a){
manage-bde -protectors -add $b":" -recoverypassword

manage-bde.exe -protectors -get $b":"

manage-bde -on $b":"

}